/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_express_element_operator.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_EXPRESS_ELEMENT_OPERATOR
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_express_element_operator.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h"

CTable_PPM_EXPRESS_ELEMENT_OPERATOR::CTable_PPM_EXPRESS_ELEMENT_OPERATOR( )
 :NPCRecordSet( )
{
  setTableName( "PPM_EXPRESS_ELEMENT_OPERATOR" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID ); 
  ELEMENT_ID.setField( "ELEMENT_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( ELEMENT_ID );
  OPERATOR_NAME.setField( "OPERATOR_NAME", DATA_CHAR, 50, 0 );
  makeTableItem( OPERATOR_NAME );
  OPERATOR_DESC.setField( "OPERATOR_DESC", DATA_CHAR, 500, 0 );
  makeTableItem( OPERATOR_DESC );
}


CTable_PPM_EXPRESS_ELEMENT_OPERATOR::CTable_PPM_EXPRESS_ELEMENT_OPERATOR( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_EXPRESS_ELEMENT_OPERATOR" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID ); 
  ELEMENT_ID.setField( "ELEMENT_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( ELEMENT_ID );
  OPERATOR_NAME.setField( "OPERATOR_NAME", DATA_CHAR, 50, 0 );
  makeTableItem( OPERATOR_NAME );
  OPERATOR_DESC.setField( "OPERATOR_DESC", DATA_CHAR, 500, 0 );
  makeTableItem( OPERATOR_DESC );
}

CTable_PPM_EXPRESS_ELEMENT_OPERATOR::~CTable_PPM_EXPRESS_ELEMENT_OPERATOR( )
{
    close();
}

